import { action } from 'mobx';
import tempFileApi from '@/api/tempFileApi';

export default class TempFileStore {
    @action
    public async uploadTempFile(file: File) {
        return tempFileApi.uploadTempFile(file);
    }

    @action
    public async deleteTempFile(id: number) {
        return tempFileApi.deleteTempFile(id);
    }
}
